module num(x,lcd);
input[3:0] x;
output reg[8:0] lcd;
always@(*)
begin
  case(x)
    4'd0:lcd=9'h30;
    4'd1:lcd=9'h31;
    4'd2:lcd=9'h32;
    4'd3:lcd=9'h33;
    4'd4:lcd=9'h34;
    4'd5:lcd=9'h35;
    4'd6:lcd=9'h36;
    4'd7:lcd=9'h37;
    4'd8:lcd=9'h38;
    4'd9:lcd=9'h39;
    default:lcd=9'h20;
    endcase
    end
  endmodule